﻿using System;
using System.Web.UI;

namespace PD.Web.DynamicData.FieldTemplates
{
    /// <summary>
    /// Represents the date time field template control.
    /// </summary>
    public partial class DateTimeField : System.Web.DynamicData.FieldTemplateUserControl
    {
        /// <summary>
        /// Gets the formatted string representation of the value of a column in the current row.
        /// </summary>
        /// <returns>The formatted value of the column in the current row.</returns>
        public override string FieldValueString
        {
            get
            {
                return base.FieldValueString;
            }
        }

        /// <summary>
        /// Gets the data control that handles the data field in a field template.
        /// </summary>
        /// <returns>A data control that handles the data field in a field template.</returns>
        public override Control DataControl
        {
            get
            {
                return this.Literal1;
            }
        }
    }
}
